<?php
/**
 +------------------------------------------------------------------------------
 * Run Framework 调度器接口
 +------------------------------------------------------------------------------
 * @date    2017-7
 * @author  Jimmy Wang <jimmywsq@163.com>
 * @version 1.0
 +------------------------------------------------------------------------------
 */
interface IDispatcher
{
	/**
	 +----------------------------------------------------------
	 * 解析URL参数
	 +----------------------------------------------------------
	 * @access public 
	 +----------------------------------------------------------
	 * @return void 
	 +----------------------------------------------------------
	 */
	public function parseReq();

	/**
	 +----------------------------------------------------------
	 * 获取控制器文件名
	 +----------------------------------------------------------
	 * @access public 
	 +----------------------------------------------------------
	 * @return string
	 +----------------------------------------------------------
	 */
	public function getFile();


	/**
	 +----------------------------------------------------------
	 * 获取控制器类名
	 +----------------------------------------------------------
	 * @access public 	
	 +----------------------------------------------------------
	 * @return string
	 +----------------------------------------------------------
	 */
	public function getModule();


	/**
	 +----------------------------------------------------------
	 * 获取请求的操作
	 +----------------------------------------------------------
	 * @access public 
	 +----------------------------------------------------------
	 * @return string
	 +----------------------------------------------------------
	 */
	public function getAction();
}
?>